package com.pig4cloud.mall.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 退货原因表
 *
 * @author fangyu
 * @date 2020-12-25 17:48:03
 */
@Data
@TableName("oms_order_return_reason")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "退货原因表")
public class OrderReturnReason extends Model<OrderReturnReason> {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	@ApiModelProperty(value = "")
	private Long id;
	/**
	 * 退货类型
	 */
	@ApiModelProperty(value = "退货类型")
	private String name;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private Integer sort;
	/**
	 * 状态：0->不启用；1->启用
	 */
	@ApiModelProperty(value = "状态：0->不启用；1->启用")
	private Integer status;
	/**
	 * 添加时间
	 */
	@ApiModelProperty(value = "添加时间")
	private LocalDateTime createTime;
}
